package atguigu;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: springboot-01-helloworld
 * @ClassName OtherController
 * @description: 用于测试包扫描注解的使用
 * @author: zwq
 **/
@RestController
public class OtherController {

    @RequestMapping(value = "/hi")
    public String hi(){
        return "你很棒你知道不！";
    }
}
